﻿using System;
using DoodleLabyrinthLogic.Character;

namespace DoodleLabyrinthLogic
{
    public sealed class Game
    {
        private const string _savePath = "";

        public Player MainPlayer { get; set; }
        
        Game()
        {
            
        }

        public static Game Instance
        {
            get
            {
                return Nested.instance;
            }
        }

        public string SavePath
        {
            get { return _savePath; }
        }

        class Nested
        {
            // Explicit static constructor to tell C# compiler
            // not to mark type as beforefieldinit
            static Nested()
            {
            }

            internal static readonly Game instance = new Game();
        }
    }
}
